places sidebar: compare bookmarks by index
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Wed, 4 Mar 2015 20:12:40 +0000 (17:12 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Wed, 4 Mar 2015 20:20:40 +0000 (17:20 -0300)
commitce9a5a3fecd10acc464252c21de8a3a92ea013e1
tree8a6455bb0a52f723c39bc3c4bef1a308f38fe853
parent17bc7aaefd0e1ab78b14f6d5430b7831b6af2b99
places sidebar: compare bookmarks by index

GtkPlacesSidebar applies a sorting function on
the tree model that does not consider the case
of bookmarks, which are sorted by their indexes.

By adding the bookmarks corner case and comparing
then by their indexes, GtkPlacesSidebar can sort
the bookmarks properly in the order they're saved.

https://bugzilla.gnome.org/show_bug.cgi?id=744589
gtk/gtkplacessidebar.c